package com.theyeasy.dvmini.model;

import java.util.Date;

import javax.persistence.Id;

public class Chatlog {
	@Id
	private Integer id;

	private Integer fansid;

	private String ask;

	private String reply;

	private Integer replytype;

	private Date asktime;

	private Date noticetime;

	private Integer salesid;

	private Integer vankerid;

	private Date replytime;

	private String imgurl;

	private String imgurl2;

	private Integer askfrom;

	private boolean readed = false;
	private Date readTime;

	public boolean isReaded() {
		return readed;
	}

	public void setReaded(boolean readed) {
		this.readed = readed;
	}

	public Date getReadTime() {
		return readTime;
	}

	public void setReadTime(Date readTime) {
		this.readTime = readTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFansid() {
		return fansid;
	}

	public void setFansid(Integer fansid) {
		this.fansid = fansid;
	}

	public String getAsk() {
		return ask;
	}

	public void setAsk(String ask) {
		this.ask = ask == null ? null : ask.trim();
	}

	public String getReply() {
		return reply;
	}

	public void setReply(String reply) {
		this.reply = reply == null ? null : reply.trim();
	}

	public Integer getReplytype() {
		return replytype;
	}

	public void setReplytype(Integer replytype) {
		this.replytype = replytype;
	}

	public Date getAsktime() {
		return asktime;
	}

	public void setAsktime(Date asktime) {
		this.asktime = asktime;
	}

	public Date getNoticetime() {
		return noticetime;
	}

	public void setNoticetime(Date noticetime) {
		this.noticetime = noticetime;
	}

	public Integer getSalesid() {
		return salesid;
	}

	public void setSalesid(Integer salesid) {
		this.salesid = salesid;
	}

	public Integer getVankerid() {
		return vankerid;
	}

	public void setVankerid(Integer vankerid) {
		this.vankerid = vankerid;
	}

	public Date getReplytime() {
		return replytime;
	}

	public void setReplytime(Date replytime) {
		this.replytime = replytime;
	}

	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl == null ? null : imgurl.trim();
	}

	public String getImgurl2() {
		return imgurl2;
	}

	public void setImgurl2(String imgurl2) {
		this.imgurl2 = imgurl2 == null ? null : imgurl2.trim();
	}

	public Integer getAskfrom() {
		return askfrom;
	}

	public void setAskfrom(Integer askfrom) {
		this.askfrom = askfrom;
	}

}